﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ASPItalia.ModelVirtualCasting.ObjectModel
{
    public partial class Person
    {
        [ScaffoldColumn(false)]
        public abstract bool IsModel { get; }
    }

    public partial class Model
    {
        public override bool IsModel
        {
            get { return true; }
        }
    }

    public partial class Candidate
    {
        public override bool IsModel
        {
            get { return false; }
        }
    }
}
